package components.valueobjects
{
	import utils.nfc.NfcInterface;
	import utils.nfc.NfcTagMapUrl;

	[Bindable]
	public class OpnvVO extends LocationVO
	{
		private static const imgPath:String = "images/location/opnv/";
		
		public static const OPNV_TYPE_S:String = "station";
		public static const OPNV_TYPE_TRAM:String = "tram";
		public static const OPNV_TYPE_U:String = "underground";
		
		public var opnvType:String;
		
		public function OpnvVO(title:String,description:String, geolocation:GeoLocationVO,mapurl:String,opnvType:String)
		{
			super(LocationVO.TYPE_OPNV,title,imgPath+opnvType+".png",description,geolocation,mapurl);
			this.opnvType = opnvType;
		}
		
		override public function getNfcContent():Array
		{
			var nfcContent:Array = new Array();
			nfcContent.push(new NfcTagMapUrl(NfcInterface.POSITION_RIGHT,this.mapurl,this.title));
			return nfcContent;
		}
		
		
	}
}